package com.retail.shopping.remote;

import com.retail.common.core.domain.Result;
import com.retail.shopping.remote.factory.ShoppingCartFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 功能描述:
 *
 * @version: java version 1.8
 * @author: liguangyao
 * @date: 2024-03-03 下午 4:44
 */
@FeignClient(contextId = "ShoppingCartFeign",value = "retail-shopping",fallbackFactory = ShoppingCartFallbackFactory.class)
public interface ShoppingCartFeign {

    @PostMapping("/shoppingCartList/deleteCartMiddenBySkuUser")
    public Result deleteCartMiddenBySkuUser(@RequestParam("userId")Integer userId, @RequestParam("str")String str);

}
